<template>
    <div >
       123 {{ msg }}
       <button @click="err">报错</button>
       <div><img :src="mdld" /></div>
    </div>
</template>

<script>

export default {
  props: {
  },
  data() {
    return {
      msg: 'Hello World',
      mdld: require('./assets/mdld.jpg')
    };
  },
  methods: {
    err() {
      return this.msg.map(function () { });
    },
  },
};
</script>

<style></style>
